package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "offermanagementtable")
public class Offermanagementtable {
    /**
     * 工作ID
     */
    @TableId(value = "offerID", type = IdType.INPUT)
    private Integer offerid;

    /**
     * 所处编号，绑定需求编号
     */
    @TableField(value = "The_location_number")
    private String theLocationNumber;

    /**
     * 应聘者id，绑定简历表
     */
    @TableField(value = "Applicant_ID")
    private String applicantId;

    /**
     * 录用岗位，绑定部门
     */
    @TableField(value = "Recruitment_positions")
    private String recruitmentPositions;

    /**
     * 薪资待遇
     */
    @TableField(value = "Salary")
    private String salary;

    /**
     * 试用期
     */
    @TableField(value = "Probation_period")
    private Date probationPeriod;

    /**
     * 试用期薪资
     */
    @TableField(value = "Probationary_salary")
    private String probationarySalary;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 发送人
     */
    @TableField(value = "Sender_by")
    private String senderBy;

    /**
     * offer 状态（已入职，待入职，已拒绝）
     */
    @TableField(value = "offer_status")
    private String offerStatus;

    /**
     * 发放时间
     */
    @TableField(value = "Distribution_time")
    private Date distributionTime;

    /**
     * 提交
     */
    @TableField(value = "submit")
    private Date submit;

    /**
     * 报道日期
     */
    @TableField(value = "Reported_date")
    private Date reportedDate;

    /**
     * 报道地址
     */
    @TableField(value = "Reporting_address")
    private String reportingAddress;
    @TableField(exist = false)
    private Candidateresume candidateresume;
    @TableField(exist = false)
    private Department department;
    @TableField(exist = false)
    private Employee employee;
    @TableField(exist = false)
    private Recruitmentrequirement recruitmentrequirement;
}